package com.yd.domain.sys;

/**
 * @author zy
 * @create 2018-03-07 9:57
 * @desc 用户角色表
 **/
public class UserRole {
    private String userId;//用户id
    private String roleCode;//角色code

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    @Override
    public String toString() {
        return "SysUserRole{" +
                "userId='" + userId + '\'' +
                ", roleCode='" + roleCode + '\'' +
                '}';
    }

    public UserRole(String userId, String roleCode) {
        this.userId = userId;
        this.roleCode = roleCode;
    }

    public UserRole() {
    }
}
